package com.qzsoft.zhjd.exp.modules.exppenetration.service.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qzsoft.zhjd.common.components.BaseServiceComponent;
import com.qzsoft.zhjd.exp.modules.exppenetration.dto.ExpPenetrationDto;
import com.qzsoft.zhjd.exp.modules.exppenetration.entity.ExpPenetrationEntity;
import com.qzsoft.zhjd.exp.modules.exppenetration.mapper.ExpPenetrationMapper;
import com.qzsoft.zhjd.exp.modules.exppenetration.service.ExpPenetrationService;


/**
 * @ClassName: ExpPenetrationServiceImpl
 * @Description: 针入度业务接口实现
 * @author linhuawei
 * @since 2021-04-20
 */
@Service
public class ExpPenetrationServiceImpl extends ServiceImpl<ExpPenetrationMapper, ExpPenetrationEntity>
        implements ExpPenetrationService {
    
    @Autowired
    private BaseServiceComponent baseServiceComponent;
    
    @Override
    public IPage<ExpPenetrationDto> page(Map<String, Object> params) {
        IPage<ExpPenetrationDto> page = baseServiceComponent.getPage(params, ExpPenetrationDto.class);
        return baseMapper.queryDto(page, params);
    }
    
}
